home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * %%File: general.c
- *
- * Copyright (c) 1996-1999 Bertrand LE QUELLEC
- *
- * http://perso.wanadoo.fr/blq
- * blq@wanadoo.fr
- */
-
-
- #define STRICT
- #include <windows.h>
- #pragma hdrstop
-
-
- /* #define TB_2 */
-
-
- /* Turn off warning: Parameter '' is never used */
- #ifdef TB_2
- #pragma argsused
- #endif
-
- /* Every DLL has an entry point LibMain || DllEntryPoint
- * and an exit point WEP. */
- #if defined(__FLAT__)
- BOOL WINAPI DllEntryPoint(HANDLE hinstDll, WORD fdwRreason, LPVOID plvReserved)
- {
- #else /* not flat model */
-
- #ifdef TB_2
- int FAR PASCAL LibMain(HANDLE hInstance, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine)
- #else
- int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine)
- #endif /* TB_2 */
- {
- if(wHeapSize > 0) UnlockData(0);
- #endif /* __FLAT */
-
- return 1; /* Indicate that the DLL was initialized successfully. */
- }
-
-
- /* Turn off warning: Parameter '' is never used
- * #pragma argsused
- */
- int FAR PASCAL WEP ( int bSystemExit )
- {
- return 1;
- }
-
-
-